package com.bmadmin.domain;

import java.io.Serializable;

/**
 * Created by SEELE on 2017/12/3.
 */
public class NormalResult implements Serializable{
    private String code;
    private String msg;
    private Object object;
    private Object data;

    public NormalResult() {
    }

    public NormalResult(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "NormalResult{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", object=" + object +
                ", data=" + data +
                '}';
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
